<form action="editProfile" method="post">
Update info:

<p>
Email: <input type="text" name="email" size="30" value="$user.email$"><br>
First name: <input type="text" name="firstName" value="$user.firstName$"><br>
Last name: <input type="text" name="lastName" value="$user.lastName$"><br>
Gender: $genderDropdown(var="gender", var2="", options=gender_options)$<br>
No email: <input type="checkbox" name="disableEmail" value="" $if(user.disableEmail)$checked$endif$ />
<p>
<input type="submit" name="submit" value="Update">
</form>

<form action="editProfile" enctype="multipart/form-data" method="post">
Upload profile picture:<br>
<input type="file" name="profilePicture" size="40"><br>
<input type="submit" name="submit" value="Upload">
</form>

<p>
<a href="facebookProfilePic">Upload profile picture from Facebook</a>
</p>

$if(user.profilePicture)$
Your current profile picture:<br>
<img src="picture?t=$user.profilePictureMd5$" width="$user.profilePictureWidth$" height="$user.profilePictureHeight$">
$else$
You do not currently have a profile picture, upload one!
$endif$


